import 'package:json_annotation/json_annotation.dart';


part 'OrderCommentDto.g.dart';

@JsonSerializable()
class OrderCommentDto {

  int? id;
  String? orderId; // 订单ID
  String? skuId;   // sku商品id
  String? userId;  // 用户ID
  double? flawlessStar; // 完整无瑕星星评分
  double? shippingStar; // 发货及时星星评分
  double? storeIntegrityStar; // 店家诚信星星评分
  double? saleServiceStar; // 售后服务星星评分
  double? totalStar; // 总得分星星数
  String? comment;
  String? shopId;

  OrderCommentDto();

  factory OrderCommentDto.fromJson(Map<String,dynamic> json) => _$OrderCommentDtoFromJson(json);

  Map<String, dynamic> toJson() => _$OrderCommentDtoToJson(this);

}
